package com.liang.circle.server.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 动态信息
 */
@TableName(value ="share_moment")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ShareMoment extends BaseEntity implements Serializable {
    /**
     * 动态ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 圈子ID
     */
    private Long circleId;

    /**
     * 动态内容
     */
    private String content;

    /**
     * 动态图片内容
     */
    private String picUrls;

    /**
     * 回复数
     */
    private Integer replyCount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}